package Builder_Patten.computer;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class BookBuilder extends ComputerBuilder{
    public void buildType() {
        computer.setType("笔记本");
    }

    public void buildCPU() {
        computer.setCPU("CPU");
    }
    public void buildMemory() {
        computer.setMemory("内存");
    }

    public void buildHard_disk() {
        computer.setHard_disk("硬盘");
    }

    public void buildHost() {
        computer.setHost("主机");
    }

    public void buildMonitor() {
        computer.setMonitor("显示器");
    }

    public boolean isMonitor() {
        return true;
    }
}
